import tkinter as tk

AppWindow = tk.Tk()
AppWindow.title("加密大亨模拟游戏1中英文版")
screenwidth = AppWindow.winfo_screenwidth()
screenheight = AppWindow.winfo_screenheight()
width =500
height = 185
AppWindow.geometry("%dx%d+%d+%d" % (width, height, (screenwidth - width) / 2, (screenheight - height) / 2))
AppWindow.resizable(False, False)
label1 = tk.Label(AppWindow, text="加密大亨模拟游戏1",font=("Arial",18))
label1.pack()
frame=tk.Frame(AppWindow)
frame.pack()
#Login，Signup，Forget\Update Password,Forget\Update username,RestoreData，Exit System
LoginButton=tk.Button(frame,text="Login",font=("Arial",16),width=19)
LoginButton.grid(row=0,column=0,padx=5)
SignupButton = tk.Button(frame,text="Signup",font=("Arial",16),width=19,)
SignupButton.grid(row=0,column=1,padx=5)
ForgetUpdateUsernameButton=tk.Button(frame, text="Forget/Update Password",font=("Arial",16),width=19,)
ForgetUpdateUsernameButton.grid(row=1, column=0, padx=5,pady=5)
ForgetUpdatePasswordButton=tk.Button(frame, text="Forget/Update Username",font=("Arial",16),width=19,)
ForgetUpdatePasswordButton.grid(row=1, column=1, padx=5,pady=5)
RestoreButton=tk.Button(frame, text="Restore Data",font=("Arial",16),width=19,)
RestoreButton.grid(row=2, column=0, padx=5, pady=5)
ExitButton = tk.Button(frame, text="Exit System",font=("Arial",16),width=19,)
ExitButton.grid(row=2, column=1, padx=5, pady=5)
AppWindow.mainloop()
